package com.yunji.common.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.base.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tl_event_record")
public class EventRecordDO extends BaseDO {

    @ApiModelProperty("记录ID")
    @TableId(type = IdType.AUTO)
    private Long recordId;

    @ApiModelProperty("业务类型")
    private String businessType;

    @ApiModelProperty("事件类型")
    private String eventType;

    @ApiModelProperty("事件业务ID")
    private Long eventDataId;

    @ApiModelProperty("数据状态值")
    private Integer eventStatus;

    @ApiModelProperty("数据状态名")
    private String eventStatusName;

    @ApiModelProperty("操作人ID")
    private Long operateId;

    @ApiModelProperty("操作人姓名")
    private String operateName;

    @ApiModelProperty("操作人所属ID")
    private Long operateBelongId;

    @ApiModelProperty("操作人所属名称")
    private String operateBelongName;

    @ApiModelProperty("操作时间")
    private Date operateTime;

    @ApiModelProperty("排序")
    private Integer sort;

}
